import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/style/index.less'
import "@/style/config.less"

import axios from "@/axios";
import { post, get } from "@/axios";
Vue.prototype.$http = { post, get };

import * as apiConfig from '@/apiConfig.js';
Vue.prototype.$apiConfig = apiConfig;


// 自定组件
import '@/components';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import pluginsFilters from '@/plugins/filters'
Vue.use(pluginsFilters);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')